//
//  HOTAccountViewController.m
//  Genpara
//
//  Created by AndyChang.zhang on 14-10-14.
//  Copyright (c) 2014年 zhangchh. All rights reserved.
//

#import "HOTAccountViewController.h"
#import "HOTResetPwdViewController.h"

@interface HOTAccountViewController ()

@end

@implementation HOTAccountViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    
    [self setNaviTitle:@"アカウント"];
    
    _userIdLabel.text = [HOTUtils getString:self.userInfo.userId];
    
    _mailAddressLabel.text = [HOTUtils getString:self.userInfo.email];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    
}

- (IBAction)resetPwdBtnClicked:(id)sender {
    
    HOTResetPwdViewController *rpvc = [[HOTResetPwdViewController alloc] initWithNibName:@"HOTResetPwdViewController" bundle:nil];
    
    [self.navigationController pushViewController:rpvc animated:YES];
}



- (IBAction)editMailAddrBtnClicked:(id)sender {
}
@end
